<%--
   * 软件著作权：东方汇创
   *
   * 系统名称：工信部OA
   *
   * 文件名称：referenceGeneralService.jsp
   *
   * 功能描述：通用业务表参照页面
   * 
   * 版本历史：
   * 2017-02-14   1.0.0版 （龙色波）（创建文件）
   * 
--%>
<%@page import="com.dfhc.bus.generalservice.IGeneralServiceConstants" %>
<%@page import="org.quickbundle.tools.helper.RmJspHelper" %>
<%@page import="org.quickbundle.project.RmGlobalReference" %>
<%@page import="com.dfhc.ISystemConstant" %>
<%@ page contentType="text/html; charset=UTF-8" language="java"%>

<!DOCTYPE html>
<html lang="en">
	<head>
	
	   <!-- 全局js 和css包 -->
	   <%@ include file="/jsp/include/web/jqGrid/global.jsp" %>
		<meta charset="utf-8" />
		<title><bean:message key="qb.web_title"/></title>

		<meta name="description" content="Dynamic tables and grids using jqGrid plugin" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />


<script type="text/javascript">
//查询操作
function  searchShi(urldata){
	   jQuery("#grid-table").jqGrid("setGridParam",
	   {
	       datatype:"json",
	       postData:$(form).serialize(), //发送数据  
	       page:"1",
	       rows:"18"
	   }).trigger("reloadGrid");
		 
	   
 	   $(".ui_inner_tan").hide();
	   $(".ui_out_tan").hide();	  
}
</script>
</head>
	


<body>
	

    
    <!-- begin 查询 -->
     <div class="ui-widget ui-widget-content ui-corner-all ui-jqdialog jqmID1 ui_inner_tan" id="portlet-config-query" style="width: 70%;left:15%;top:5%;"  dir="ltr" tabindex="-1" role="dialog" aria-labelledby="edithdgrid-table" aria-hidden="false" >
      <div class="ui-jqdialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix"  style="cursor: move;">
	   <span class="ui-jqdialog-title" style="float: left;">查询</span>
	   <a href="javascript:void(0)" class="cancel ui-jqdialog-titlebar-close ui-corner-all" style="right: 0.3em;">
	    <span class="ui-icon ui-icon-closethick"></span>
	   </a>
   </div>
   <div class="ui-jqdialog-content ui-widget-content" id="editcntgrid-table"><div>
   <div class="modal-body">
   <form name="form" id="form" class="FormGrid ui_inner_form" method="post" >
   
           <div class="control-group">
							<div class="controls">
						        <input id="id" name="id" type="hidden" />

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessGroup")%></span><input class="m-wrap" name="businessGroup" id="businessGroup" type="text"  						maxLength="20" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("parentId")%></span><input class="m-wrap" name="parentId" id="parentId" type="text"  						maxLength="19" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute70")%></span><input class="m-wrap" name="businessAttribute70" id="businessAttribute70" type="text"  />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute69")%></span><input class="m-wrap" name="businessAttribute69" id="businessAttribute69" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute68")%></span><input class="m-wrap" name="businessAttribute68" id="businessAttribute68" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute67")%></span><input class="m-wrap" name="businessAttribute67" id="businessAttribute67" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute66")%></span><input class="m-wrap" name="businessAttribute66" id="businessAttribute66" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute65")%></span><input class="m-wrap" name="businessAttribute65" id="businessAttribute65" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute64")%></span><input class="m-wrap" name="businessAttribute64" id="businessAttribute64" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute63")%></span><input class="m-wrap" name="businessAttribute63" id="businessAttribute63" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute62")%></span><input class="m-wrap" name="businessAttribute62" id="businessAttribute62" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute61")%></span><input class="m-wrap" name="businessAttribute61" id="businessAttribute61" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute60")%></span><input class="m-wrap" name="businessAttribute60" id="businessAttribute60" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute59")%></span><input class="m-wrap" name="businessAttribute59" id="businessAttribute59" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute58")%></span><input class="m-wrap" name="businessAttribute58" id="businessAttribute58" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute57")%></span><input class="m-wrap" name="businessAttribute57" id="businessAttribute57" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute56")%></span><input class="m-wrap" name="businessAttribute56" id="businessAttribute56" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute55")%></span><input class="m-wrap" name="businessAttribute55" id="businessAttribute55" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute54")%></span><input class="m-wrap" name="businessAttribute54" id="businessAttribute54" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute53")%></span><input class="m-wrap" name="businessAttribute53" id="businessAttribute53" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute52")%></span><input class="m-wrap" name="businessAttribute52" id="businessAttribute52" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute51")%></span><input class="m-wrap" name="businessAttribute51" id="businessAttribute51" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute50")%></span><input class="m-wrap" name="businessAttribute50" id="businessAttribute50" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute49")%></span><input class="m-wrap" name="businessAttribute49" id="businessAttribute49" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute48")%></span><input class="m-wrap" name="businessAttribute48" id="businessAttribute48" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute47")%></span><input class="m-wrap" name="businessAttribute47" id="businessAttribute47" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute46")%></span><input class="m-wrap" name="businessAttribute46" id="businessAttribute46" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute45")%></span><input class="m-wrap" name="businessAttribute45" id="businessAttribute45" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute44")%></span><input class="m-wrap" name="businessAttribute44" id="businessAttribute44" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute43")%></span><input class="m-wrap" name="businessAttribute43" id="businessAttribute43" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute42")%></span><input class="m-wrap" name="businessAttribute42" id="businessAttribute42" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute41")%></span><input class="m-wrap" name="businessAttribute41" id="businessAttribute41" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute40")%></span><input class="m-wrap" name="businessAttribute40" id="businessAttribute40" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute39")%></span><input class="m-wrap" name="businessAttribute39" id="businessAttribute39" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute38")%></span><input class="m-wrap" name="businessAttribute38" id="businessAttribute38" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute37")%></span><input class="m-wrap" name="businessAttribute37" id="businessAttribute37" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute36")%></span><input class="m-wrap" name="businessAttribute36" id="businessAttribute36" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute35")%></span><input class="m-wrap" name="businessAttribute35" id="businessAttribute35" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute34")%></span><input class="m-wrap" name="businessAttribute34" id="businessAttribute34" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute33")%></span><input class="m-wrap" name="businessAttribute33" id="businessAttribute33" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute32")%></span><input class="m-wrap" name="businessAttribute32" id="businessAttribute32" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute31")%></span><input class="m-wrap" name="businessAttribute31" id="businessAttribute31" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute30")%></span><input class="m-wrap" name="businessAttribute30" id="businessAttribute30" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute29")%></span><input class="m-wrap" name="businessAttribute29" id="businessAttribute29" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute28")%></span><input class="m-wrap" name="businessAttribute28" id="businessAttribute28" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute27")%></span><input class="m-wrap" name="businessAttribute27" id="businessAttribute27" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute26")%></span><input class="m-wrap" name="businessAttribute26" id="businessAttribute26" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute25")%></span><input class="m-wrap" name="businessAttribute25" id="businessAttribute25" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute24")%></span><input class="m-wrap" name="businessAttribute24" id="businessAttribute24" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute23")%></span><input class="m-wrap" name="businessAttribute23" id="businessAttribute23" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute22")%></span><input class="m-wrap" name="businessAttribute22" id="businessAttribute22" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute21")%></span><input class="m-wrap" name="businessAttribute21" id="businessAttribute21" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute20")%></span><input class="m-wrap" name="businessAttribute20" id="businessAttribute20" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute19")%></span><input class="m-wrap" name="businessAttribute19" id="businessAttribute19" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute18")%></span><input class="m-wrap" name="businessAttribute18" id="businessAttribute18" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute17")%></span><input class="m-wrap" name="businessAttribute17" id="businessAttribute17" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute16")%></span><input class="m-wrap" name="businessAttribute16" id="businessAttribute16" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute15")%></span><input class="m-wrap" name="businessAttribute15" id="businessAttribute15" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute14")%></span><input class="m-wrap" name="businessAttribute14" id="businessAttribute14" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute13")%></span><input class="m-wrap" name="businessAttribute13" id="businessAttribute13" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute12")%></span><input class="m-wrap" name="businessAttribute12" id="businessAttribute12" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute11")%></span><input class="m-wrap" name="businessAttribute11" id="businessAttribute11" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute10")%></span><input class="m-wrap" name="businessAttribute10" id="businessAttribute10" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute9")%></span><input class="m-wrap" name="businessAttribute9" id="businessAttribute9" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute8")%></span><input class="m-wrap" name="businessAttribute8" id="businessAttribute8" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute7")%></span><input class="m-wrap" name="businessAttribute7" id="businessAttribute7" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute6")%></span><input class="m-wrap" name="businessAttribute6" id="businessAttribute6" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute5")%></span><input class="m-wrap" name="businessAttribute5" id="businessAttribute5" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute4")%></span><input class="m-wrap" name="businessAttribute4" id="businessAttribute4" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute3")%></span><input class="m-wrap" name="businessAttribute3" id="businessAttribute3" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute1")%></span><input class="m-wrap" name="businessAttribute1" id="businessAttribute1" type="text"  						maxLength="255" />
							</div>

							<div class="input-prepend">
							  <span class="add-on"><%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute2")%></span><input class="m-wrap" name="businessAttribute2" id="businessAttribute2" type="text"  						maxLength="255" />
							</div>

							</div>
			 </div>
     <input type="hidden" name="referenceInputType" value="${referenceInputType}"/>
     </form>
     </div>
     
     <div class="EditTable operate_div" >
       <a href="javascript:void(0)" id="sData" class="fm-button ui-state-default ui-corner-all fm-button-icon-left" onclick="javascript:searchShi('<%=request.getContextPath()%>/generalservice/reference?referenceInputType=${referenceInputType}');">
       <i class="icon-search"></i>
           查询</a>
       <a href="javascript:void(0)" id="cData" class="cancel fm-button ui-state-default ui-corner-all fm-button-icon-left">
      <i class="icon-remove"></i> 
              取消</a>
     </div>
   
     </div></div>
     
     </div>
     
    
    
    <!-- end 查询 -->
    
 

		<div class="main-container" id="main-container">
			<script type="text/javascript">
                      	     try{ ace.settings.check('main-container' , 'fixed') 
                             } catch(e){
                             }
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>
				
				
            
                 
				<div class="main-content ref-main-content">
				

					<div class="page-content">
						<div class="row">
							<div class="col-xs-12">
								<!-- PAGE CONTENT BEGINS -->

								<table id="grid-table"></table>

								<div id="grid-pager"></div>

								<script type="text/javascript">
									var $path_base = "/";//this will be used in gritter alerts containing images
								</script>

								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->



			</div><!-- /.main-container-inner -->

		
		</div><!-- /.main-container -->

	

		<script type="text/javascript">
			//var grid_data = ${grid_data};	
		
			jQuery(function($) {
				var grid_selector = "#grid-table";
				var pager_selector = "#grid-pager";

				jQuery(grid_selector).jqGrid({
					//direction: "rtl",
					
					url: getRootPath()+'/generalservice/referenceAjax',
					datatype: "json",
				    mtype: 'POST',  
					height: 250,
					colNames:['id',
'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessGroup")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("parentId")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute70")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute69")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute68")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute67")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute66")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute65")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute64")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute63")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute62")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute61")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute60")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute59")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute58")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute57")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute56")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute55")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute54")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute53")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute52")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute51")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute50")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute49")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute48")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute47")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute46")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute45")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute44")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute43")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute42")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute41")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute40")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute39")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute38")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute37")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute36")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute35")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute34")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute33")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute32")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute31")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute30")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute29")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute28")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute27")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute26")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute25")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute24")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute23")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute22")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute21")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute20")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute19")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute18")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute17")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute16")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute15")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute14")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute13")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute12")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute11")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute10")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute9")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute8")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute7")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute6")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute5")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute4")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute3")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute1")%>'
,'<%=IGeneralServiceConstants.TABLE_COLUMN_DISPLAY.get("businessAttribute2")%>'
],
					colModel:[
					    {name:'id',index:'id',width:90, editable:true,hidedlg:true,hidden:true},		
			{name:'businessGroup',index:'businessGroup', width:90,editable: true,editoptions:{size:"20",maxLength:"20"}},
			{name:'parentId',index:'parentId', width:90,editable: true,editoptions:{size:"20",maxLength:"19"}},
			{name:'businessAttribute70',index:'businessAttribute70', width:90,editable: true,editoptions:{size:"20"}},
			{name:'businessAttribute69',index:'businessAttribute69', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute68',index:'businessAttribute68', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute67',index:'businessAttribute67', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute66',index:'businessAttribute66', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute65',index:'businessAttribute65', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute64',index:'businessAttribute64', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute63',index:'businessAttribute63', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute62',index:'businessAttribute62', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute61',index:'businessAttribute61', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute60',index:'businessAttribute60', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute59',index:'businessAttribute59', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute58',index:'businessAttribute58', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute57',index:'businessAttribute57', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute56',index:'businessAttribute56', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute55',index:'businessAttribute55', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute54',index:'businessAttribute54', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute53',index:'businessAttribute53', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute52',index:'businessAttribute52', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute51',index:'businessAttribute51', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute50',index:'businessAttribute50', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute49',index:'businessAttribute49', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute48',index:'businessAttribute48', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute47',index:'businessAttribute47', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute46',index:'businessAttribute46', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute45',index:'businessAttribute45', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute44',index:'businessAttribute44', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute43',index:'businessAttribute43', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute42',index:'businessAttribute42', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute41',index:'businessAttribute41', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute40',index:'businessAttribute40', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute39',index:'businessAttribute39', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute38',index:'businessAttribute38', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute37',index:'businessAttribute37', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute36',index:'businessAttribute36', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute35',index:'businessAttribute35', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute34',index:'businessAttribute34', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute33',index:'businessAttribute33', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute32',index:'businessAttribute32', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute31',index:'businessAttribute31', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute30',index:'businessAttribute30', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute29',index:'businessAttribute29', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute28',index:'businessAttribute28', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute27',index:'businessAttribute27', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute26',index:'businessAttribute26', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute25',index:'businessAttribute25', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute24',index:'businessAttribute24', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute23',index:'businessAttribute23', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute22',index:'businessAttribute22', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute21',index:'businessAttribute21', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute20',index:'businessAttribute20', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute19',index:'businessAttribute19', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute18',index:'businessAttribute18', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute17',index:'businessAttribute17', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute16',index:'businessAttribute16', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute15',index:'businessAttribute15', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute14',index:'businessAttribute14', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute13',index:'businessAttribute13', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute12',index:'businessAttribute12', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute11',index:'businessAttribute11', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute10',index:'businessAttribute10', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute9',index:'businessAttribute9', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute8',index:'businessAttribute8', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute7',index:'businessAttribute7', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute6',index:'businessAttribute6', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute5',index:'businessAttribute5', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute4',index:'businessAttribute4', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute3',index:'businessAttribute3', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute1',index:'businessAttribute1', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}},
			{name:'businessAttribute2',index:'businessAttribute2', width:90,editable: true,editoptions:{size:"20",maxLength:"255"}}
					], 	
		                        shrinkToFit:false,
					viewrecords : true,
					rownumbers:true,
					rowNum:15,
					rowList:[15,30],
					pager : pager_selector,
					sortname : 'id',//初始化的时候排序的字段
					sortorder : "desc",//排序方式,可选desc,asc
					altRows: true,
					//toppager: true,
					
					multiselect: true,
					//multikey: "ctrlKey",
			        multiboxonly: true,
			
					loadComplete : function() {
						var table = this;
						setTimeout(function(){
							updateActionIcons(table);
							updatePagerIcons(table);
							enableTooltips(table);
						}, 0);
					},
			
					editurl: getRootPath()+'/generalservice/update',//nothing is saved
					caption: "通用业务表列表展示",
					autowidth: true
			
				});
				
				//enable search/filter toolbar
				//jQuery(grid_selector).jqGrid('filterToolbar',{defaultSearch:true,stringResult:true})
			
				//enable datepicker
				function pickDate( cellvalue, options, cell ) {
					setTimeout(function(){
						$(cell) .find('input[type=text]')
								.datepicker({format:'yyyy-mm-dd' , autoclose:true}); 
					}, 0);
				}
			
			
				//navButtons
				jQuery(grid_selector).jqGrid('navGrid',pager_selector,
					{ 	//navbar options
						edit: false,
						editicon : 'icon-pencil blue',
						add: false,
						addicon : 'icon-plus-sign purple',
						del: false,
						delicon : 'icon-trash red',
						search: false,
						searchicon : 'icon-search orange',
						refresh: false,
						refreshicon : 'icon-refresh green',
						view: false,
						viewicon : 'icon-zoom-in grey',
					
					}
				)
				
			
				
				//查询
				  jQuery(grid_selector) .navButtonAdd(pager_selector,
					{ caption:"", buttonicon:"icon-search orange",
				      onClickButton:search_div , 
				      position:"last" }) ;
			
                //查询层
			     
			     function search_div(){
			    	 $(".ui_out_tan").show();
			    	 $("#portlet-config-query").show();
			     }
			     
			     
			 
			     
			     
			     
				//unlike navButtons icons, action icons in rows seem to be hard-coded
				//you can change them like this in here if you want
				function updateActionIcons(table) {
					/**
					var replacement = 
					{
						'ui-icon-pencil' : 'icon-pencil blue',
						'ui-icon-trash' : 'icon-trash red',
						'ui-icon-disk' : 'icon-ok green',
						'ui-icon-cancel' : 'icon-remove red'
					};
					$(table).find('.ui-pg-div span.ui-icon').each(function(){
						var icon = $(this);
						var $class = $.trim(icon.attr('class').replace('ui-icon', ''));
						if($class in replacement) icon.attr('class', 'ui-icon '+replacement[$class]);
					})
					*/
				}
				
				//replace icons with FontAwesome icons like above
				function updatePagerIcons(table) {
					var replacement = 
					{
						'ui-icon-seek-first' : 'icon-double-angle-left bigger-140',
						'ui-icon-seek-prev' : 'icon-angle-left bigger-140',
						'ui-icon-seek-next' : 'icon-angle-right bigger-140',
						'ui-icon-seek-end' : 'icon-double-angle-right bigger-140'
					};
					$('.ui-pg-table:not(.navtable) > tbody > tr > .ui-pg-button > .ui-icon').each(function(){
						var icon = $(this);
						var $class = $.trim(icon.attr('class').replace('ui-icon', ''));
						
						if($class in replacement) icon.attr('class', 'ui-icon '+replacement[$class]);
					})
				}
			
				function enableTooltips(table) {
					$('.navtable .ui-pg-button').tooltip({container:'body'});
					$(table).find('.ui-pg-div').tooltip({container:'body'});
				}
			
				//var selr = jQuery(grid_selector).jqGrid('getGridParam','selrow');
			
			
			});
		</script>
	</body>
</html>
